package dfrz.com.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author PuXiaLing
 * @description: TODO
 * @date 2023/12/22 16:35
 */
public class DateUtil {
    //日期格式化字符串
    public static String convertDateToString(Date now){
        SimpleDateFormat df=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return df.format(now);
    }

}
